package com.hotai.vo.courseware;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hotai.comment.dtos.PageRequestDto;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.ArrayList;
import java.util.Date;
import java.util.Map;

@Data
public class CoursewareList extends PageRequestDto {
    private  String   name;
    private  String   subject;
    private  String   clas;
    private  Integer  status;
    private  String   fname;
    private  String   tname;
    private Map<String,Object>    paramMap;
    @DateTimeFormat(pattern="yyyy-MM-dd")//存到数据库
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") //从数据库
    private Date   maxDate;
    @DateTimeFormat(pattern="yyyy-MM-dd")//存到数据库
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") //从数据库
    private  Date  minDate;

}
